object fm_Cad_Orcamento: Tfm_Cad_Orcamento
  Left = 0
  Top = 0
  Caption = 'Consulta e Importa'#231#227'o de Or'#231'amento'
  ClientHeight = 507
  ClientWidth = 1011
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  KeyPreview = True
  OldCreateOrder = False
  PopupMenu = pm_Principal
  Visible = True
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object pc_Principal: TPageControl
    Left = 0
    Top = 55
    Width = 1011
    Height = 435
    ActivePage = ts_Cad_Interno
    Align = alClient
    MultiLine = True
    TabOrder = 1
    TabPosition = tpBottom
    object ts_Cad_Interno: TTabSheet
      Caption = 'Cadastro Interno'
      object spltr_Interno: TSplitter
        Left = 0
        Top = 201
        Width = 1003
        Height = 10
        Cursor = crVSplit
        Align = alTop
        Beveled = True
        ResizeStyle = rsUpdate
        ExplicitTop = 129
        ExplicitWidth = 709
      end
      object pn_Superior_Interno: TPanel
        Left = 0
        Top = 0
        Width = 1003
        Height = 201
        Align = alTop
        TabOrder = 0
        object dbGrid_Cadastro_Interno: TFocusDbGrid
          Left = 1
          Top = 1
          Width = 1001
          Height = 199
          Align = alClient
          Color = clWhite
          Columns = <
            item
              Expanded = False
              FieldName = 'N'#250'meroOr'#231'amento'
              ReadOnly = True
              Title.Caption = 'N'#186' Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'NotaFiscal'
              Title.Caption = 'Nota Fiscal'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'orC'#243'digoCliente'
              ReadOnly = True
              Title.Caption = 'C'#243'd. Cliente'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Cliente'
              ReadOnly = True
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'OrdemCompra'
              Title.Caption = 'Ordem Compra'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DataOr'#231'amento'
              Title.Caption = 'Dt. Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Dt_Impressao'
              Title.Caption = 'Dt.Impress'#227'o'
              Width = 73
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'PrazoEntrega'
              Title.Caption = 'Prazo Entrega'
              Width = 75
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DATASA'#205'DANF'
              Title.Caption = 'Dt. Sa'#237'da NF'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DT_ENTREGA'
              Title.Caption = 'Dt.Entrega'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'VALORPRODUTO'
              ReadOnly = True
              Title.Caption = 'Total'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Status'
              Title.Caption = 'Status Ped.'
              Width = 99
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ds_observacao'
              Title.Caption = 'Observa'#231#227'o'
              Width = 144
              Visible = True
            end>
          DrawingStyle = gdsGradient
          Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgCancelOnExit, dgMultiSelect, dgTitleClick, dgTitleHotTrack]
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Tahoma'
          TitleFont.Style = []
          OnDrawColumnCell = dbGrid_Cadastro_InternoDrawColumnCell
          ColorParStart = 16773874
          ColorParEnd = 16768991
          ColorImparStart = clWhite
          ColorImparEnd = 14803425
          SQL.Strings = (
            'select '#9'a.N'#250'meroOr'#231'amento,'
            '       '#9'a.NotaFiscal,'
            '       '#9'a.orC'#243'digoCliente,'
            '       '#9'a.DataOr'#231'amento,'
            '       '#9'a.ordemcompra,'
            ' '#9'b.cliente,'
            #9'a.dt_impressao,'
            #9'a.prazoentrega,'
            #9'a.datasa'#237'danf,'
            #9'a.dt_entrega,'
            #9'a.valorproduto,'
            #9'a.status,'
            #9'a.ds_observacao'
            'from'#9'orcamento a'
            'inner join cliente b on a.orc'#243'digocliente = b.c'#243'digocliente'
            'where 1=1')
          SubDetail = dbGrid_Cadastro_Interno_Item
          Params = <
            item
              DataType = ftInteger
              Name = 'numeroorcamento'
              ParamType = ptInput
            end>
          TipoClasseBase = TOrcamentoInterno
          TipoClasseDestino = Null
          OnAfterScroll = dbGrid_Cadastro_InternoAfterScroll
          Sort = 'N'#250'meroOr'#231'amento'
          AllowAppend = False
          SortType = 'DESC'
          FilterOFFOnColSearch = False
          Columns = <
            item
              Expanded = False
              FieldName = 'N'#250'meroOr'#231'amento'
              ReadOnly = True
              Title.Caption = 'N'#186' Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'NotaFiscal'
              Title.Caption = 'Nota Fiscal'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'orC'#243'digoCliente'
              ReadOnly = True
              Title.Caption = 'C'#243'd. Cliente'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Cliente'
              ReadOnly = True
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'OrdemCompra'
              Title.Caption = 'Ordem Compra'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DataOr'#231'amento'
              Title.Caption = 'Dt. Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Dt_Impressao'
              Title.Caption = 'Dt.Impress'#227'o'
              Width = 73
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'PrazoEntrega'
              Title.Caption = 'Prazo Entrega'
              Width = 75
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DATASA'#205'DANF'
              Title.Caption = 'Dt. Sa'#237'da NF'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DT_ENTREGA'
              Title.Caption = 'Dt.Entrega'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'VALORPRODUTO'
              ReadOnly = True
              Title.Caption = 'Total'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Status'
              Title.Caption = 'Status Ped.'
              Width = 99
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ds_observacao'
              Title.Caption = 'Observa'#231#227'o'
              Width = 144
              Visible = True
            end>
        end
      end
      object pn_Inferior_Interno: TPanel
        Left = 0
        Top = 211
        Width = 1003
        Height = 198
        Align = alClient
        TabOrder = 1
        object dbGrid_Cadastro_Interno_Item: TFocusDbGrid
          Left = 1
          Top = 1
          Width = 1001
          Height = 196
          Align = alClient
          Color = clWindow
          Columns = <
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'ie_imprimir'
              Font.Charset = ANSI_CHARSET
              Font.Color = clWhite
              Font.Height = -1
              Font.Name = 'Tahoma'
              Font.Style = []
              Title.Caption = 'Imprimir?'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ID'
              ReadOnly = True
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'doN'#250'meroOr'#231'amento'
              ReadOnly = True
              Title.Caption = 'N'#186' Pedido'
              Visible = False
            end
            item
              Expanded = False
              FieldName = 'C'#243'digoProduto'
              ReadOnly = True
              Title.Caption = 'C'#243'd. Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prProduto'
              ReadOnly = True
              Title.Caption = 'Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Descri'#231#227'o'
              Title.Caption = 'Obs.Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Quantidade'
              Title.Alignment = taRightJustify
              Title.Caption = 'Qtd.'
              Title.Font.Charset = DEFAULT_CHARSET
              Title.Font.Color = clWindowText
              Title.Font.Height = -11
              Title.Font.Name = 'Tahoma'
              Title.Font.Style = [fsBold]
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'volume'
              ReadOnly = True
              Title.Caption = 'Volumes'
              Title.Font.Charset = DEFAULT_CHARSET
              Title.Font.Color = clWindowText
              Title.Font.Height = -11
              Title.Font.Name = 'Tahoma'
              Title.Font.Style = [fsBold]
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'UNIT'#193'RIO'
              ReadOnly = True
              Title.Caption = 'Pre'#231'o'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prcodigocr'
              ReadOnly = True
              Title.Caption = 'C'#243'd. Reduzido'
              Visible = True
            end>
          DrawingStyle = gdsGradient
          Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgMultiSelect, dgTitleClick, dgTitleHotTrack]
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Tahoma'
          TitleFont.Style = []
          OnDrawColumnCell = dbGrid_Cadastro_Interno_ItemDrawColumnCell
          ColorParStart = 14806271
          ColorParEnd = 12703487
          ColorImparStart = clWhite
          ColorImparEnd = 14803425
          SQL.Strings = (
            'select a.*'
            'from'
            '('
            #9'select '#9'a.*,'
            #9#9'b.prproduto,'
            #9#9'b.prcodigocr,'
            #9#9'('
            #9#9'select '#9'count(w.nr_sequencia)'
            #9#9'from'#9'produto_caixa w'
            #9#9'where'#9'w.nr_seq_produto = a.c'#243'digoproduto) as volume'
            #9'from'#9'orcamento_item a'
            #9'inner '#9'join produto b on b.prc'#243'digoproduto = a.c'#243'digoproduto'
            #9'where'#9'1=1'
            #9'and'#9'a.don'#250'meroor'#231'amento = :n'#250'meroor'#231'amento'
            ')a'
            'where 1=1')
          Params = <
            item
              DataType = ftInteger
              Name = 'N'#250'meroOr'#231'amento'
              ParamType = ptUnknown
            end>
          TipoClasseBase = TOrcamento_Item_Interno
          TipoClasseDestino = Null
          AllowAppend = False
          FilterOFFOnColSearch = False
          Columns = <
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'ie_imprimir'
              Font.Charset = ANSI_CHARSET
              Font.Color = clWhite
              Font.Height = -1
              Font.Name = 'Tahoma'
              Font.Style = []
              Title.Caption = 'Imprimir?'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ID'
              ReadOnly = True
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'doN'#250'meroOr'#231'amento'
              ReadOnly = True
              Title.Caption = 'N'#186' Pedido'
              Visible = False
            end
            item
              Expanded = False
              FieldName = 'C'#243'digoProduto'
              ReadOnly = True
              Title.Caption = 'C'#243'd. Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prProduto'
              ReadOnly = True
              Title.Caption = 'Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Descri'#231#227'o'
              Title.Caption = 'Obs.Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Quantidade'
              Title.Alignment = taRightJustify
              Title.Caption = 'Qtd.'
              Title.Font.Charset = DEFAULT_CHARSET
              Title.Font.Color = clWindowText
              Title.Font.Height = -11
              Title.Font.Name = 'Tahoma'
              Title.Font.Style = [fsBold]
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'volume'
              ReadOnly = True
              Title.Caption = 'Volumes'
              Title.Font.Charset = DEFAULT_CHARSET
              Title.Font.Color = clWindowText
              Title.Font.Height = -11
              Title.Font.Name = 'Tahoma'
              Title.Font.Style = [fsBold]
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'UNIT'#193'RIO'
              ReadOnly = True
              Title.Caption = 'Pre'#231'o'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prcodigocr'
              ReadOnly = True
              Title.Caption = 'C'#243'd. Reduzido'
              Visible = True
            end>
        end
      end
    end
    object ts_Cons_Externa: TTabSheet
      Caption = 'Consulta Externa'
      ImageIndex = 1
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object spltr_Externa: TSplitter
        Left = 0
        Top = 185
        Width = 1003
        Height = 10
        Cursor = crVSplit
        Align = alTop
        Beveled = True
        ResizeStyle = rsUpdate
        ExplicitWidth = 709
      end
      object pn_Superior_Externa: TPanel
        Left = 0
        Top = 0
        Width = 1003
        Height = 185
        Align = alTop
        TabOrder = 0
        object dbGrid_Consulta_Externa: TFocusDbGrid
          Left = 1
          Top = 1
          Width = 1001
          Height = 183
          Align = alClient
          Color = clWindow
          Columns = <
            item
              Expanded = False
              FieldName = 'N'#250'meroOr'#231'amento'
              Title.Caption = 'N'#186' Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'NotaFiscal'
              Title.Caption = 'Nota Fiscal'
              Visible = True
            end
            item
              Alignment = taRightJustify
              Expanded = False
              FieldName = 'orC'#243'digoCliente'
              Title.Caption = 'C'#243'd. Cliente'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Cliente'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'OrdemCompra'
              Title.Caption = 'Ordem Compra'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DataOr'#231'amento'
              Title.Caption = 'Dt. Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'PrazoEntrega'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DATASA'#205'DANF'
              Title.Caption = 'Dt.Sa'#237'da NF'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'VALORPRODUTO'
              Title.Caption = 'Total'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Status'
              Title.Caption = 'Status Ped.'
              Visible = True
            end>
          DrawingStyle = gdsGradient
          Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgMultiSelect, dgTitleClick, dgTitleHotTrack]
          ReadOnly = True
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Tahoma'
          TitleFont.Style = []
          ColorParStart = 13816530
          ColorParEnd = 15066597
          ColorImparStart = clCream
          ColorImparEnd = clWhite
          SQL.Strings = (
            'select '#9'a.notaFiscal,'
            #9'a.N'#250'meroOr'#231'amento,'
            #9'a.dataor'#231'amento,'
            #9'a.orC'#243'digoCliente,'
            #9'b.cliente,'
            #9'a.ordemcompra,'
            #9'a.PrazoEntrega,'
            ' '#9'a.datasa'#237'danf,'
            #9'a.valorproduto,'
            #9'a.status'
            'from'#9'tbl_or'#231'amentos a'
            
              'inner join tbl_CadastroClientes b on b.C'#243'digoCliente = a.orC'#243'dig' +
              'oCliente'
            'where 1=1')
          SubDetail = dbGrid_Consulta_Externa_Item
          Params = <>
          TipoClasseBase = TOrcamentoExterno
          TipoClasseDestino = TOrcamentoInterno
          OnAfterDML = dbGrid_Consulta_ExternaAfterDML
          OnAfterScroll = dbGrid_Consulta_ExternaAfterScroll
          Sort = 'N'#250'meroOr'#231'amento'
          AllowAppend = False
          SortType = 'DESC'
          FilterOFFOnColSearch = False
          Columns = <
            item
              Expanded = False
              FieldName = 'N'#250'meroOr'#231'amento'
              Title.Caption = 'N'#186' Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'NotaFiscal'
              Title.Caption = 'Nota Fiscal'
              Visible = True
            end
            item
              Alignment = taRightJustify
              Expanded = False
              FieldName = 'orC'#243'digoCliente'
              Title.Caption = 'C'#243'd. Cliente'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Cliente'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'OrdemCompra'
              Title.Caption = 'Ordem Compra'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DataOr'#231'amento'
              Title.Caption = 'Dt. Pedido'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'PrazoEntrega'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'DATASA'#205'DANF'
              Title.Caption = 'Dt.Sa'#237'da NF'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'VALORPRODUTO'
              Title.Caption = 'Total'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Status'
              Title.Caption = 'Status Ped.'
              Visible = True
            end>
        end
      end
      object pn_Inferior_Externa: TPanel
        Left = 0
        Top = 195
        Width = 1003
        Height = 214
        Align = alClient
        TabOrder = 1
        object dbGrid_Consulta_Externa_Item: TFocusDbGrid
          Left = 1
          Top = 1
          Width = 1001
          Height = 212
          Align = alClient
          Color = clWindow
          Columns = <
            item
              Expanded = False
              FieldName = 'ID'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'doN'#250'meroOr'#231'amento'
              Visible = False
            end
            item
              Alignment = taRightJustify
              Expanded = False
              FieldName = 'C'#243'digoProduto'
              Title.Caption = 'C'#243'd. Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prProduto'
              Title.Caption = 'Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Descri'#231#227'o'
              Title.Caption = 'Obs.Produto'
              Visible = True
            end
            item
              Alignment = taRightJustify
              Expanded = False
              FieldName = 'Quantidade'
              Title.Caption = 'Qtd.'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'unit'#225'rio'
              Title.Caption = 'Pre'#231'o'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prcodigocr'
              Title.Caption = 'C'#243'd. Reduzido'
              Width = 86
              Visible = True
            end>
          DrawingStyle = gdsGradient
          Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
          ReadOnly = True
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'Tahoma'
          TitleFont.Style = []
          ColorParStart = 13816530
          ColorParEnd = 15066597
          ColorImparStart = clWhite
          ColorImparEnd = clWhite
          SQL.Strings = (
            'select '#9'a.ID,'
            #9'a.doN'#250'meroOr'#231'amento,'
            #9'a.C'#243'digoProduto,'
            #9'a.Quantidade,'
            #9'b.prProduto,'
            #9'a.descri'#231#227'o,'
            '                a.unit'#225'rio,'
            #9'b.prcodigocr'
            'from'#9'[TBL_Detalhes do Or'#231'amento] a'
            'inner join TBL_Produtos b on a.C'#243'digoProduto = b.prC'#243'digoProduto'
            'where '#9'1=1'
            'and'#9'a.doN'#250'meroOr'#231'amento = :N'#250'meroOr'#231'amento')
          Params = <
            item
              DataType = ftInteger
              Name = 'N'#250'meroOr'#231'amento'
              ParamType = ptInput
            end>
          TipoClasseBase = TOrcamento_Item_Externo
          TipoClasseDestino = Null
          AllowAppend = False
          FilterOFFOnColSearch = False
          Columns = <
            item
              Expanded = False
              FieldName = 'ID'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'doN'#250'meroOr'#231'amento'
              Visible = False
            end
            item
              Alignment = taRightJustify
              Expanded = False
              FieldName = 'C'#243'digoProduto'
              Title.Caption = 'C'#243'd. Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prProduto'
              Title.Caption = 'Produto'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'Descri'#231#227'o'
              Title.Caption = 'Obs.Produto'
              Visible = True
            end
            item
              Alignment = taRightJustify
              Expanded = False
              FieldName = 'Quantidade'
              Title.Caption = 'Qtd.'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'unit'#225'rio'
              Title.Caption = 'Pre'#231'o'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'prcodigocr'
              Title.Caption = 'C'#243'd. Reduzido'
              Width = 86
              Visible = True
            end>
        end
      end
    end
  end
  object rg_Filtros: TGroupBox
    Left = 0
    Top = 0
    Width = 1011
    Height = 55
    Align = alTop
    Caption = 'Filtros'
    TabOrder = 0
    object gb_DataOrc: TGroupBox
      Left = 2
      Top = 15
      Width = 241
      Height = 38
      Align = alLeft
      Caption = 'Dt. Pedido'
      TabOrder = 0
      object Label1: TLabel
        Left = 8
        Top = 18
        Width = 12
        Height = 13
        Caption = 'de'
      end
      object Label2: TLabel
        Left = 121
        Top = 18
        Width = 16
        Height = 13
        Caption = 'at'#233
      end
      object dt_Pedido_de: TDateTimePicker
        Left = 22
        Top = 14
        Width = 97
        Height = 21
        Date = 41194.644662708340000000
        Time = 41194.644662708340000000
        ShowCheckbox = True
        TabOrder = 0
        OnClick = dt_Pedido_deClick
        OnChange = dt_Pedido_deChange
      end
      object dt_Pedido_ate: TDateTimePicker
        Left = 139
        Top = 14
        Width = 97
        Height = 21
        Date = 41194.644662708340000000
        Time = 41194.644662708340000000
        ShowCheckbox = True
        TabOrder = 1
        OnClick = dt_Pedido_ateClick
        OnChange = dt_Pedido_ateChange
      end
    end
    object GroupBox2: TGroupBox
      Left = 243
      Top = 15
      Width = 241
      Height = 38
      Align = alLeft
      Caption = 'Dt. Sa'#237'da NF'
      TabOrder = 1
      object Label3: TLabel
        Left = 8
        Top = 18
        Width = 12
        Height = 13
        Caption = 'de'
      end
      object Label4: TLabel
        Left = 121
        Top = 18
        Width = 16
        Height = 13
        Caption = 'at'#233
      end
      object dt_SaiNF_de: TDateTimePicker
        Left = 22
        Top = 14
        Width = 97
        Height = 21
        Date = 0.644662708342366400
        Time = 0.644662708342366400
        ShowCheckbox = True
        Checked = False
        TabOrder = 0
        OnClick = dt_SaiNF_deClick
        OnChange = dt_SaiNF_deChange
      end
      object dt_SaiNF_ate: TDateTimePicker
        Left = 139
        Top = 14
        Width = 97
        Height = 21
        Date = 41194.644662708340000000
        Time = 41194.644662708340000000
        ShowCheckbox = True
        Checked = False
        TabOrder = 1
        OnClick = dt_SaiNF_ateClick
        OnChange = dt_SaiNF_ateChange
      end
    end
    object rg_DtEntrega: TRadioGroup
      Left = 484
      Top = 15
      Width = 149
      Height = 38
      Align = alLeft
      Caption = 'Data Entrega'
      Columns = 3
      ItemIndex = 0
      Items.Strings = (
        'Todas'
        'Com'
        'Sem')
      TabOrder = 2
      OnClick = rg_DtEntregaClick
    end
    object rg_DtIMpressao: TRadioGroup
      Left = 633
      Top = 15
      Width = 149
      Height = 38
      Align = alLeft
      Caption = 'Data Impress'#227'o'
      Columns = 3
      ItemIndex = 0
      Items.Strings = (
        'Todas'
        'Com'
        'Sem')
      TabOrder = 3
      OnClick = rg_DtEntregaClick
    end
    object rb_StatusPedido: TRadioGroup
      Left = 782
      Top = 15
      Width = 180
      Height = 38
      Align = alLeft
      Caption = 'Status Pedido'
      Columns = 3
      ItemIndex = 0
      Items.Strings = (
        'Todos'
        'Aberto'
        'Fechado')
      TabOrder = 4
      OnClick = rb_StatusPedidoClick
    end
  end
  object Pb_OrcamentoInterno: TProgressBar
    Left = 0
    Top = 490
    Width = 1011
    Height = 17
    Align = alBottom
    TabOrder = 2
    Visible = False
  end
  object pm_Principal: TPopupMenu
    OnPopup = pm_PrincipalPopup
    Left = 360
    Top = 160
    object mi_Importar: TMenuItem
      Caption = 'Importar'
      OnClick = mi_ImportarClick
    end
    object mi_preparar_impressao: TMenuItem
      Caption = 'Preparar impress'#227'o'
      OnClick = mi_preparar_impressaoClick
    end
    object mi_Entregue: TMenuItem
      Caption = 'Enviar para entrega'
      OnClick = mi_EntregueClick
    end
    object mi_Sincronizar: TMenuItem
      Caption = 'Sincronizar...'
      object mi_Sincronizar_ped_tela: TMenuItem
        Caption = 'Sincronizar pedidos da tela'
        object mi_cabecalho: TMenuItem
          Caption = 'Somente atualiza o cabe'#231'alho dos pedidos'
          Hint = 
            'Atualiza os pedidos internos que estiverem na tela com os pedido' +
            's da base externa. Atualiza por exemplo as datas de sa'#237'das NF, p' +
            'razo entrega etc...'
          OnClick = mi_cabecalhoClick
        end
        object mi_itens: TMenuItem
          Caption = 'Atualiza tudo (Processo pode demorar)'
          OnClick = mi_itensClick
        end
      end
      object mi_buscar_novos: TMenuItem
        Caption = 'Buscar novos pedidos da base externa'
        OnClick = mi_buscar_novosClick
      end
    end
  end
end
